package day09;

// 单例模式之懒汉式
public class Single02 {

	private Single02() {
	}

	private static Single02 s;

	public static Single02 getInstance() {
		if (s == null) {
			s = new Single02();
		}
		return s;
	}

}
